#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <errno.h>
#include <list>
using namespace std;
#include "NetEngine_Include/XyRyNet_CommHdr.h"
#include "NetEngine_Include/XyRyNet_Types.h"
#include "NetEngine_Include/NetEngine_BaseLib/BaseLib_Define.h"
#include "NetEngine_Include/NetEngine_BaseLib/BaseLib_Error.h"
#include "NetEngine_Include/NetEngine_HelpComponents/XLog_Define.h"
#include "NetEngine_Include/NetEngine_HelpComponents/XLog_Error.h"
#include "NetEngine_Include/NetEngine_UPData/FileParser_Define.h"
#include "NetEngine_Include/NetEngine_UPData/FileParser_Error.h"
#include "NetEngine_Include/NetEngine_UPData/UPDataDl_Define.h"
#include "NetEngine_Include/NetEngine_UPData/UPDataDl_Error.h"
#include "NetEngine_Include/NetEngine_UPData/HelpModule_Define.h"
#include "NetEngine_Include/NetEngine_UPData/HelpModule_Error.h"


typedef struct tag_UPDaterService_Config
{
    TCHAR tszUPUrl[MAX_PATH];
    TCHAR tszLocalList[MAX_PATH];
    TCHAR tszDownPath[MAX_PATH];
    TCHAR tszMakePath[MAX_PATH];
    BOOL bIsMake;
    BOOL bUPSys;
    BOOL bIsDown;
    int nLogType;
}UPDATERSERVICE_CONFIG;

extern BOOL bIsRun;
extern XLOG xhLog;
extern UPDATERSERVICE_CONFIG st_P2XPConfig;
extern list<FILEPARSER_VERSIONINFO> stl_ListUPDataVer;

#include "UPDater_Config.h"
#include "UPDater_Net.h"
